Skip to content

Update dependency react-apexcharts to v2#327

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/react-apexcharts-2.x
Open

Update dependency react-apexcharts to v2#327
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/react-apexcharts-2.x

Conversation

@renovate

@renovate renovate Bot commented Feb 19, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
react-apexcharts 1.4.02.1.1 age confidence

Release Notes

apexcharts/react-apexcharts (react-apexcharts)

v2.1.1: React ApexCharts v2.1.1

Compare Source

🐛 Bug fixes

Fixed a crash on chart teardown — Cannot read properties of undefined (reading 'node') (#​602)

When a chart was rendered or updated while its container was detached from the DOM - e.g. it's closed/hidden and reopened, a modal or tab unmounts it, or a queued window-resize redraw fired right after unmount - the underlying chart instance never finished setting up its SVG. The subsequent teardown then dereferenced an undefined element and threw. Because this happened inside React's useEffect cleanup, it could crash the entire component tree, not just the chart. The crash was commonly reported alongside chart.id and responsive options, which share the same teardown/resize path.

The unmount cleanup is now guarded across all client and hydrate entry points, so a teardown error can no longer crash your React tree — on any installed apexcharts version.

This pairs with the root-cause fix in apexcharts@5.15.1. For the complete fix, upgrade both:

npm i apexcharts@^5.15.1 react-apexcharts@^2.1.1

v2.1.0

Compare Source

v2.0.1: React ApexCharts v2.0.1

Compare Source

Patch Release: SSR Example & Minor Fixes

This patch release adds a comprehensive SSR example project to help developers integrate React ApexCharts with Next.js and other SSR frameworks.


New SSR Example Project

Added a complete Next.js App Router example demonstrating SSR capabilities:

  • Location: example-ssr/
  • Framework: Next.js 15+ with TypeScript
  • Features:
    • Server-side chart rendering with react-apexcharts/server
    • Client-side hydration with react-apexcharts/hydrate
    • Server data fetching examples
    • Multiple chart types and configurations
    • Best practices for SSR integration

🐛 Bug Fixes

  • Improved type definitions consistency

v2.0.0: React ApexCharts v2.0.0

Compare Source

Major Release: Server-Side Rendering (SSR) Support

This release introduces first-class support for Server-Side Rendering, making React ApexCharts fully compatible with Next.js App Router, React Server Components, and other modern SSR frameworks.


New Features

Server-Side Rendering (SSR) Support

React ApexCharts now provides dedicated components and exports for seamless SSR integration:

New Export: react-apexcharts/server

Server-side component for rendering static chart markup without client-side JavaScript:

// app/page.tsx (Server Component)
import Chart from 'react-apexcharts/server'

export default function Page() {
  return <Chart type="line" series={...} options={...} />
}
New Export: react-apexcharts/hydrate

Client-side component for hydrating server-rendered charts with interactivity:

'use client'
import Chart from 'react-apexcharts/hydrate'

export default function ClientWrapper() {
  return <Chart clientOptions={{ chart: { animations: { enabled: true } } }} />
}
Modern Package Exports

Enhanced exports field in package.json for better module resolution:

  • ESM and CJS dual format support
  • Proper TypeScript types for each export
  • Optimized for Vite, Next.js, and other modern bundlers
{
  ".": { "import": "./dist/react-apexcharts.esm.js", "require": "./dist/react-apexcharts.cjs.js" },
  "./server": { "import": "./dist/react-apexcharts-server.esm.js" },
  "./hydrate": { "import": "./dist/react-apexcharts-hydrate.esm.js" }
}

v1.9.0

Compare Source

v1.8.0

Compare Source

v1.7.0

Compare Source

v1.6.0

Compare Source

v1.5.0

Compare Source

v1.4.4

Compare Source

v1.4.3

Compare Source

v1.4.2

Compare Source

v1.4.1

Compare Source


Configuration

📅 Schedule: (in timezone Asia/Jerusalem)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the renovate label Feb 19, 2026
@renovate

renovate Bot commented Feb 19, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm warn Unknown env config "store". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: b2b-sample-app@0.1.0
npm error Found: apexcharts@3.41.0
npm error node_modules/apexcharts
npm error   apexcharts@"3.41.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer apexcharts@">=5.10.1" from react-apexcharts@2.1.1
npm error node_modules/react-apexcharts
npm error   react-apexcharts@"2.1.1" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry this command with --force or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /runner/cache/others/npm/_logs/2026-06-22T19_14_11_140Z-eresolve-report.txt
npm error A complete log of this run can be found in: /runner/cache/others/npm/_logs/2026-06-22T19_14_11_140Z-debug-0.log

@vercel

vercel Bot commented Feb 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
b2b-react-sample-app Error Error Jun 22, 2026 7:15pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants